package com.zbkj.front.service;

import com.alipay.api.AlipayApiException;
import com.zbkj.common.response.order.OrderSucceResponse;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

public interface PaymentService {

    // 支付方法
    String pay(Map<String, Object> params) throws AlipayApiException;

    OrderSucceResponse wxpay(Map<String, Object> params) throws AlipayApiException;
    // 回调方法
    String callback(HttpServletRequest request, HttpServletResponse response);


}
